Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use is_file instead of existence in finding .ozy.yaml #85

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

mattgodbolt
Copy link
Contributor

Fixes an issue where if you have a magic filesystem on your cwd (e.g. envy via autofs) which dreams up directories if you ask it ...then ozy used to:

Error: While loading ozy config

Caused by:
    0: Reading config YAML
    1: Is a directory (os error 21)

Fixes an issue where if you have a magic filesystem on your cwd
(e.g. `envy` via autofs) which dreams up directories if you ask it
...then `ozy` used to:

```
Error: While loading ozy config

Caused by:
    0: Reading config YAML
    1: Is a directory (os error 21)
```
@apmorton
Copy link
Contributor

can you also bump the version number so we can tag this as a release once merged?

see: e1f076c

@mattgodbolt
Copy link
Contributor Author

will do; I have another change coming too.

@mattgodbolt mattgodbolt linked an issue Sep 30, 2024 that may be closed by this pull request
@mattgodbolt mattgodbolt merged commit 02437b2 into main Sep 30, 2024
2 checks passed
@mattgodbolt mattgodbolt deleted the mg/fix_is_file branch October 4, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fake filesystems confuse ozy
2 participants